cboj-payments-prc-api
CDM Fund Transfer
Description:
This API is used to create cdm fund transfer.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-client-trace-id, x-bank-id,client_id, client_secret
Optional Headers: x-sub-channel-id,x-user-id, Authorization, x-debug-flag, x-customer-id
Paramaters:
URI Params: NA
Query Params: NA
Content-type: application/json
Body:
{
"cdmReferenceNumber": "B1-000393",
"userId": "A788",
"dummyCreditAccount": "404040",
"amount": 340,
"currency": "JOD"
}
Mulesoft Response:
Success Response: (200)
{
"status": {
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"fundTransferId": "FT21039ACCMN6NMT"
}
}
Sample Error Response:
Please refer the HOME page for all possible combinations of error response codes.
Note: The 'errorCode' and 'errorDescription' will be in the error response message only if 'x-debug-flag' is '1'
400 :
{
"status": {
"success": false,
"code": "T24003799",
"reasonCode": "BadRequest",
"arabicMessage": "NO SIGN ON NAME SUPPLIED DURING SIGN ON PROCESS",
"englishMessage": "NO SIGN ON NAME SUPPLIED DURING SIGN ON PROCESS",
"errorCode": "T24003799",
"errorDescription": "INVALID/ NO SIGN ON NAME SUPPLIED DURING SIGN ON PROCESS"
}
}